Posts

Post not yet marked as solved
3 Replies
The drawback of this method is for those processes launched before your kext be loaded, you don't have the vnode of those processes, so even if you have their pid, you still can't use vn_getpath() to get the full path of those processes...
Post not yet marked as solved
5 Replies
Yeah, we know that. But the fact is the kext still can be loaded for the latest release. The problem is happened on a machine with macos 10.14.6 with below message when panic occurs:"build" : "Bridge OS 4.5 (17P5290)", "crashReporterKey" : "c0dec0dec0dec0dec0dec0dec0dec0dec0de0001", "date" : "2020-06-16 03:38:13.18 +0000", "incident" : "B3549D58-E9CD-4D71-9478-D3AD259C8121", "kernel" : "Darwin Kernel Version 19.5.0: Thu Apr 30 23:53:45 PDT 2020; root:xnu-6153.120.31~33\/RELEASE_ARM64_T8010",
Post marked as solved
2 Replies
After some pratice, the answer is yes. But we need to take care to build the static lib with kernel stuff such as kernel framework and header files which is something tricky a little bit for new hand...
Post not yet marked as solved
5 Replies
It's not easy for us to pull the code outside the kernel to userland since we have a tied inferustruct between userspace and kernel space such as ioctl and other stuffs, which can't be mocked in user space. So for the unit test in kernel, actually it should be one for the userspace code, we want to get the code coverage data during runtime when we do that...Thanks to confirm that!
Post not yet marked as solved
5 Replies
It's a generic kext. We want to know the code coverage percentage when doing the unit test :-) But seems there's no guidance for those areas no matter from Apple or other googled websites...
Post not yet marked as solved
5 Replies
we're using the OC not swift in the project, is there OC related? But, IMO, the best solution is to check the xcode version during build time... since the same code has different build result for different xcode version: xcode earlier than 11.1 is OK, but will fail for 11.1 version which I just upgrade this morning :-(
Post not yet marked as solved
26 Replies
Hello, let me squash in to raise a question here 🙂. I'va a xcode 11.0 beta 2(11M337n) installed, but when I try to create a new project or insert a new target to an existing project, I can't find the 'Endpoint Security' template in the wizard, either I can't find the document to detail the Endpoint Security APIs. Does anybody can give some clues here?